package itheima.d08;

import java.util.ArrayList;
import java.util.Collection;

public class Test2 {
    public static void main(String[] args) {
        Collection c = new ArrayList();
        c.add("苍老师");
        c.add("小泽老师");
        c.add("冲田老师");
        c.add("饭老师");
        c.add("波多老师");
        for (Object o : c) {
            System.out.println(o);

        }


        System.out.println("=========");
        String[] arr ={"张俊彦，吴妍珠，季军下，王梦晴，李煌 "};
        for (String s : arr) {
            System.out.println(s);

        }

        for (Object o : c) {
            o+="2";
        }
        System.out.println(""+c);
    }
    }

